﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_BillLogoPl, App_Web_billlogopl.aspx.fdf7a39c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../Jscript/page.js" type="text/javascript"></script>

    <style type="text/css">
        .listslee
        {
            width: 150px;
            border: 1px solid #CCC;
            height: 20px;
        }
    </style>

    <script type="text/javascript">


        function ToSet() {

 
 
                    var v = $(".listslee:first").val();

                    $(".listslee").val(v);

 
            }





   
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="title">
        Logo 编辑</div>
    <div class="trans-search-title">
        <div class="trans-edit-no">
            货运单号</div>
        <div class="trans-edit-logo">
            运单 logo</div>
        <div class="trans-edit-logoname">
            Logo 图片
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet()" /></div>
    </div>
    <asp:Repeater ID="list" runat="server">
        <ItemTemplate>
            <div class="trans-search-line">
                <div class="trans-edit-no">
                    <a href="#">
                        <asp:Label ID="no_txt" Text='<%#Eval("No")%>' runat="server"></asp:Label></a></div>
                <div class="trans-edit-logo">
                    <img src='../UpLoad/small/small<%# GetLogo(Eval("No").ToString()) %>' width="53"
                        height="13" />&nbsp;</div>
                <div class="trans-edit-logoname">
                    <asp:DropDownList ID="imagelist" runat="server" CssClass="listslee" DataSource='<%#GetLogo() %>'
                        DataTextField="Name" DataValueField="Logo">
                    </asp:DropDownList>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <asp:Label ForeColor="Red" ID="showerr" runat="server"></asp:Label>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 20px;
        text-align: center;">
            <div style="width: 100%; text-align: right">
            <div style="margin: 10px 0px 0px 3px;">
                <img src="../images/arrow-up.gif" width="25" height="24" />
                &nbsp;
                <asp:ImageButton ImageAlign="AbsMiddle" ID="ImageButton1" runat="server" ImageUrl="~/images/btn-itemlot.gif"
                    Width="68" Height="25" onclick="ImageButton1_Click" />
                &nbsp;
                <asp:ImageButton ImageAlign="AbsMiddle" ID="ImageButton2" runat="server" ImageUrl="~/images/btn-pricelot.gif"
                    Width="68" Height="25" onclick="ImageButton2_Click" />
                &nbsp;
                <asp:ImageButton ImageAlign="AbsMiddle" ID="ImageButton3" runat="server" ImageUrl="~/images/btn-otherlot.gif"
                    Width="68" Height="25" onclick="ImageButton3_Click" />
                &nbsp;&nbsp;
            </div>
        </div>
        <asp:ImageButton ImageAlign="AbsMiddle"  ID="okbtn" runat="server" ImageUrl="~/images/btn-save-trans.gif"
            Width="192" Height="40" OnClick="okbtn_Click" />
    </div>
    <!-- body end here -->
    </form>
</body>
</html>
